<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>欢迎使用 Electron-pinyin</title>
    <style>
        .box {
            width: 280px;
            height: 300px;
            overflow: hidden;
            overflow-y: scroll;
            font-size: 14px;
            -webkit-app-region: drag;
        }

        .box::-webkit-scrollbar {
            display: none;
        }

        .btn {
            margin-top: 10px;
            margin-right: 10px;
            float: right;
        }
    </style>
</head>

<body>
    <div class="box">
        <p class='parag'>V1.0.4</p>
        <p class='parag'>1、自定义excel清除保存即时生效</p>
        <p class='parag'>2、增加更新日志</p>
        <p class='parag'>3、增加word带汉字版拼音，可标记多音字</p>
        <p class='parag'>4、增加设置模块，选择注音输出格式，自定义excel词表导入模式，选择引用词典和设置优先级</p>
        <p class='parag'>5、增加注音结果预览板块</p>
    </div>
    <button class="btn" onclick="handleClose">确认</button>
    <script>
        const { ipcRenderer } = window.require('electron')
        const btn = document.querySelector(".btn")
        btn.addEventListener("click", _ => {
            ipcRenderer.send("tipclose")
        })
        // let handleClose = () => {
        //     ipcRenderer.send("close")
        // }
    </script>
</body>

</html>